<%--
  Created by IntelliJ IDEA.
  User: 88403
  Date: 2021/6/16
  Time: 21:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>头部</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/admin/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/admin/css/main.css"/>


</head>
<body>
<div class="topbar-wrap white">
    <div class="topbar-inner clearfix">
        <div class="topbar-logo-wrap clearfix">
            <h1 class="topbar-logo none"><a href="index.html" class="navbar-brand">后台管理</a></h1>
            <ul class="navbar-list clearfix">
                <li><a class="on" href="${pageContext.request.contextPath}/index.jsp">网站首页</a></li>
                <li><a href="${pageContext.request.contextPath}/admin/show" target="_blank">后台首页</a></li>
            </ul>
        </div>
        <div class="top-info-wrap">
            <ul class="top-info-list clearfix">
                <c:if test="${empty loginuser}">
                    <li><a href="${pageContext.request.contextPath}/admin/adminLogin.jsp">请登录</a></li>


                </c:if>
                <c:if test="${not empty loginuser}">
                <li><a >欢迎${loginuser.name}登录</a></li>
                <li><a href="${pageContext.request.contextPath}/admin/logout">退出</a></li>
                </c:if>
            </ul>
        </div>
    </div>
</div>
<div class="container clearfix">
    <div class="sidebar-wrap">
        <div class="sidebar-title">
            <h1>管理系统</h1>
        </div>
        <div class="sidebar-content">
            <ul class="sidebar-list">
                <li>
                    <ul class="sub-menu">
                        <li><a href="${pageContext.request.contextPath}/admin/show"><i class="icon-font"></i>管理员信息</a></li>
                        <li><a href="${pageContext.request.contextPath}/teachers/select"><i class="icon-font"></i>教师信息管理</a></li>
                        <li><a href="${pageContext.request.contextPath}/order/show"><i class="icon-font"></i>预约信息管理</a></li>
                        <li><a href="${pageContext.request.contextPath}/news/showNews"><i class="icon-font"></i>新闻信息管理</a></li>
                        <li><a href="${pageContext.request.contextPath}/employ/showEmploy"><i class="icon-font"></i>招聘信息管理</a></li>
                        <li><a href="${pageContext.request.contextPath}/leave/showlist"><i class="icon-font"></i>留言信息管理</a></li>
                    </ul>
                </li>

            </ul>
        </div>
    </div>
</body>
</html>
